<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="./css/new_file.css" >
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta charset="utf-8">
    <title>充值</title>
</head>
<body>
<div class="body">
    <div class="zt"></div>
    <div class="neir">
        <div class="yu">
            <a class="yer">剩余时长</a>
        </div>
        <div class="lin">
            <a class="ye">0</a>
        </div>
        <div class="cz">
            <a class="chongzhi" href="">充值</a>
        </div>
    </div>
    <div class="die">
        <a class="gou">1.平台暂时不提供线上充值</a>
        <br></br>
        <a class="gou1">2.充值将现金交给管理员，由管理员后台充值</a>
    </div>
</div>
<div class="dibu">
    <div class="x">大象vpn网络服务由http://www.baidu.com提供</div>
</div>
</body>
<script src="./js/jquery.js"></script>
<script>

    function getQueryVariable(variable)
    {
        var query = window.location.search.substring(1);
        var vars = query.split("&");
        for (var i=0;i<vars.length;i++) {
            var pair = vars[i].split("=");
            if(pair[0] == variable){return pair[1];}
        }
        return(false);
    }

    $.ajax({
        url:"/app/v1/zhuye" ,
        headers:{
            token: getQueryVariable("token")
        } ,
        success:(res) => {
            if(res.code == 200) {
                if(res.data.appAdmin != null && res.data.appAdmin != undefined) {
                    $(".ye").text(res.data.appAdmin.shenyu_time + "分钟")
                }
            }
        }
    })
</script>
</html>
